package com.hz.foodstalls.log;


import com.jfinal.log.ILogFactory;
import com.jfinal.log.Log;

/**
 * Created by foodstalls on 2016/2/17.
 */
public class Slf4jLogFactory implements ILogFactory {

    @Override
    public Log getLog(Class<?> clazz) {
        return new Slf4jLogger(clazz);
    }

    @Override
    public Log getLog(String name) {
        return new Slf4jLogger(name);
    }
}
